package com.orangelife.mobile.web;

import android.app.Activity;

/**
 * <p/>
 * Created by 吴格非 on 2016-8-24.
 * <p/>
 *
 * @author 吴格非
 * @since v1.0.0
 */
public class JsUtil {

    public static final String JS_INTERFACE_NAME = "orangelife";

    /** 选择对应的 */
    public static CommonJs getJSI(String url, Activity act, WebHandler handler) {
        // if url contains xxx use xxxjsi;
        CommonJs jsi = new CommonJs(act);
        jsi.setHandler(handler);
        return jsi;
    }
}
